﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Loong.Store;
using Loong.Model;

namespace Test
{
    public class ObjectToFile
    {
        public static void Main1(string[] args)
        {
            ObjectStoreQueue store = new ObjectStoreQueue(@"c:\3.bin");
             ContentTagInfo tag3 = new ContentTagInfo();
             tag3.Name = "dsfsdf";
             store.Enqueue(tag3);
           //  store.Save();
             ContentTagInfo tag1 = store.Dequeue() as ContentTagInfo;

             Console.WriteLine(tag1.Name);
             Console.Read();


        }
    }
}
